package service

//import (
//	"blog-server/global"
//	"blog-server/models"
//)
//
//type ProjectService struct{}
//
//func NewProjectService() *ProjectService {
//	return new(ProjectService)
//}
//
//// ProjectListAll 获取所有项目信息
//func (service *ProjectService) ProjectListAll() []models.Project {
//	var allProject []models.Project
//	_ = global.Engine.Where("can_view = true").Find(&allProject).Error
//	return allProject
//}
